Skip to content

feat(document): restore previous document versions#730

Merged
horacioh merged 3 commits into
mainfrom
restore-version-implementation-plan
Jun 12, 2026
Merged

feat(document): restore previous document versions#730
horacioh merged 3 commits into
mainfrom
restore-version-implementation-plan

Conversation

@horacioh

@horacioh horacioh commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a restore action to document version history so older versions can be republished as the latest version.
  • Support restore flows on both desktop and web, including permission handling, cache invalidation, navigation, and draft cleanup after a successful restore.
  • Add shared restore change generation for document content and metadata, with tests covering metadata restoration and web restore publishing behavior.

horacioh added 3 commits June 12, 2026 18:06
Add shared restore-version change building and wire restore actions for web and desktop document views, including tests for restore change generation and web publishing.
Move restore metadata diffing into document change generation so nested
fields, integer values, and removed attributes are restored from the
selected version.
@horacioh horacioh force-pushed the restore-version-implementation-plan branch from 1fd76d9 to 15e716c Compare June 12, 2026 21:11
@horacioh horacioh merged commit ebd350a into main Jun 12, 2026
8 checks passed
@horacioh horacioh deleted the restore-version-implementation-plan branch June 12, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant